server:server.cpp
	g++ -o $@ $^ -std=c++17 -lstdc++fs -ljsoncpp -L./lib -lbundle
testservice:testservice.cpp
	g++ -o $@ $^ -std=c++17 -lstdc++fs -ljsoncpp -L./lib -lbundle
testhotfilemanager:testhotfilemanager.cpp
	g++ -o $@ $^ -std=c++17 -lstdc++fs -ljsoncpp -L./lib -lbundle
testdatamanager:testdatamanager.cpp
	g++ -o $@ $^ -std=c++17 -lstdc++fs -ljsoncpp
testconfig:testconfig.cpp
	g++ -o $@ $^ -std=c++17 -lstdc++fs -ljsoncpp
testutils:testutils.cpp
	g++ -o $@ $^ -std=c++17 -lstdc++fs -ljsoncpp -L./lib -lbundle
.PHONY:clean
clean:
	rm -f server testutils testconfig testdatamanager testhotfilemanager testservice
cleanAll:
	rm -rf backdir packdir cloud.dat
